<?php echo $this->Html->script(array( 'jquery.cycle.lite.js' ),$options = array('allowCache'=>false,'safe'=>false,'inline'=>false));?>
<script type="text/javascript">
$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});
</script>

<div class="banner slideshow" style="margin-top: 0px;">
	<div class="slideshow" style="position: relative; overflow: hidden; display: block;">
		<?php $b1 = Configure::read('cfg.baner_1_url_upload'); if(!empty($b1)){?><img onclick="document.location.href='<?php echo Configure::read('cfg.baner_1_url')?>';" alt="<?php echo Configure::read('cfg.homepage_title')?>" src="<?php echo '/'.Configure::read('Config.loacl_uploads_folder').Configure::read('cfg.baner_1_url_upload')?>" ><?php }?>
		<?php $b2 = Configure::read('cfg.baner_2_url_upload'); if(!empty($b2)){?><img onclick="document.location.href='<?php echo Configure::read('cfg.baner_2_url')?>';" alt="<?php echo Configure::read('cfg.homepage_title')?>" src="<?php echo '/'.Configure::read('Config.loacl_uploads_folder').Configure::read('cfg.baner_2_url_upload')?>" ><?php }?>
		<?php $b3 = Configure::read('cfg.baner_3_url_upload'); if(!empty($b3)){?><img onclick="document.location.href='<?php echo Configure::read('cfg.baner_3_url')?>';" alt="<?php echo Configure::read('cfg.homepage_title')?>" src="<?php echo '/'.Configure::read('Config.loacl_uploads_folder').Configure::read('cfg.baner_3_url_upload')?>" ><?php }?>
		<?php $b4 = Configure::read('cfg.baner_4_url_upload'); if(!empty($b4)){?><img onclick="document.location.href='<?php echo Configure::read('cfg.baner_4_url')?>';" alt="<?php echo Configure::read('cfg.homepage_title')?>" src="<?php echo '/'.Configure::read('Config.loacl_uploads_folder').Configure::read('cfg.baner_4_url_upload')?>" ><?php }?>
	</div>
</div>